/**
 * Project Name:clps.sms
 * File Name:AccountDAO.java
 * Package Name:com.clps.dev.sms.sm.dao
 * Copyright (c) 2018, erwin.wang@clpsglobal.com All Rights Reserved.
 *
 */
package com.clps.dev.sms.sm.dao;

import java.util.List;

import com.clps.dev.sms.sm.pojo.Account;

/**
 * ClassName: AccountDAO <br/>
 * Description:  <br/>
 * <br/>
 *
 * @author erwin.wang
 * @version V1.0
 * @since JDK 1.8
 * @2018年10月31日 上午11:15:32
 */
public interface AccountDAO {
	/**
	 * 
	 * queryAllAccounts: <br/>
	 * @return
	 */
	public List<Account> queryAllAccounts();
	
	/**
	 * 
	 * queryAccoutById:(这里用一句话描述这个方法的作用). <br/>
	 * 
	 * @param accountId
	 * @return Account
	 */
	public Account queryAccoutById(String accountId);
	/**
	 * 
	 * queryAccountByCondition:(这里用一句话描述这个方法的作用). <br/> 
	 * 
	 * @return List<Account>
	 */
	public List<Account> queryAccountByCondition();
	/**
	 * 
	 * updateAccountById:<br/> 
	 * 
	 * @param account
	 * @return Boolean true update data success
	 * 				   false update date failure
	 */						
	public Boolean updateAccountById(Account account);
	
	/**
	 * 
	 * deleteAccountById:
	 * 					
	 * @param accountId
	 * @return Boolean true delete data success
	 * 				   false delete date failure
	 */
	public Boolean deleteAccountById(String accountId);
	/**
	 * 
	 * saveAccount: <br/> 
	 * 
	 * @param account 	Account Object
	 * @return Boolean true save data success
	 * 				   false save date failure
	 */
	public Boolean saveAccount(Account account);
	
	default void mm(){}

}
